package com.giscloud.limp.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 再审案件信息
 *
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-10 14:25:28
 */
public class CaseRetrialExample {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria;
    public CaseRetrialExample() {
        oredCriteria = new ArrayList<Criteria>();
    }
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }
    public String getOrderByClause() {
        return orderByClause;
    }
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }
    public boolean isDistinct() {
        return distinct;
    }
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

                                    public Criteria andCaseRetrialIdIsNull() {
                    addCriterion("case_retrial_id is null");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdIsNotNull() {
                    addCriterion("case_retrial_id is not null");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdEqualTo(Integer value) {
                    addCriterion("case_retrial_id =", value, "caseRetrialId");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdNotEqualTo(Integer value) {
                    addCriterion("case_retrial_id <>", value, "caseRetrialId");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdGreaterThan(Integer value) {
                    addCriterion("case_retrial_id >", value, "caseRetrialId");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("case_retrial_id >=", value, "caseRetrialId");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdLessThan(Integer value) {
                    addCriterion("case_retrial_id <", value, "caseRetrialId");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdLessThanOrEqualTo(Integer value) {
                    addCriterion("case_retrial_id <=", value, "caseRetrialId");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdIn(List<Integer> values) {
                    addCriterion("case_retrial_id in", values, "caseRetrialId");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdNotIn(List<Integer> values) {
                    addCriterion("case_retrial_id not in", values, "caseRetrialId");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdBetween(Integer value1, Integer value2) {
                    addCriterion("case_retrial_id between", value1, value2, "caseRetrialId");
                    return (Criteria) this;
                }

                public Criteria andCaseRetrialIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("case_retrial_id not between", value1, value2, "caseRetrialId");
                    return (Criteria) this;
                }
                                    public Criteria andCaseIdIsNull() {
                    addCriterion("case_id is null");
                    return (Criteria) this;
                }

                public Criteria andCaseIdIsNotNull() {
                    addCriterion("case_id is not null");
                    return (Criteria) this;
                }

                public Criteria andCaseIdEqualTo(Integer value) {
                    addCriterion("case_id =", value, "caseId");
                    return (Criteria) this;
                }

                public Criteria andCaseIdNotEqualTo(Integer value) {
                    addCriterion("case_id <>", value, "caseId");
                    return (Criteria) this;
                }

                public Criteria andCaseIdGreaterThan(Integer value) {
                    addCriterion("case_id >", value, "caseId");
                    return (Criteria) this;
                }

                public Criteria andCaseIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("case_id >=", value, "caseId");
                    return (Criteria) this;
                }

                public Criteria andCaseIdLessThan(Integer value) {
                    addCriterion("case_id <", value, "caseId");
                    return (Criteria) this;
                }

                public Criteria andCaseIdLessThanOrEqualTo(Integer value) {
                    addCriterion("case_id <=", value, "caseId");
                    return (Criteria) this;
                }

                public Criteria andCaseIdIn(List<Integer> values) {
                    addCriterion("case_id in", values, "caseId");
                    return (Criteria) this;
                }

                public Criteria andCaseIdNotIn(List<Integer> values) {
                    addCriterion("case_id not in", values, "caseId");
                    return (Criteria) this;
                }

                public Criteria andCaseIdBetween(Integer value1, Integer value2) {
                    addCriterion("case_id between", value1, value2, "caseId");
                    return (Criteria) this;
                }

                public Criteria andCaseIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("case_id not between", value1, value2, "caseId");
                    return (Criteria) this;
                }
                            public Criteria andRetrialCaseCodeLike(String value) {
                    addCriterion("retrial_case_code like", value, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeNotLike(String value) {
                    addCriterion("retrial_case_code not like", value, "retrialCaseCode");
                    return (Criteria) this;
                }
                            public Criteria andRetrialCaseCodeIsNull() {
                    addCriterion("retrial_case_code is null");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeIsNotNull() {
                    addCriterion("retrial_case_code is not null");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeEqualTo(String value) {
                    addCriterion("retrial_case_code =", value, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeNotEqualTo(String value) {
                    addCriterion("retrial_case_code <>", value, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeGreaterThan(String value) {
                    addCriterion("retrial_case_code >", value, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeGreaterThanOrEqualTo(String value) {
                    addCriterion("retrial_case_code >=", value, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeLessThan(String value) {
                    addCriterion("retrial_case_code <", value, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeLessThanOrEqualTo(String value) {
                    addCriterion("retrial_case_code <=", value, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeIn(List<String> values) {
                    addCriterion("retrial_case_code in", values, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeNotIn(List<String> values) {
                    addCriterion("retrial_case_code not in", values, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeBetween(String value1, String value2) {
                    addCriterion("retrial_case_code between", value1, value2, "retrialCaseCode");
                    return (Criteria) this;
                }

                public Criteria andRetrialCaseCodeNotBetween(String value1, String value2) {
                    addCriterion("retrial_case_code not between", value1, value2, "retrialCaseCode");
                    return (Criteria) this;
                }
                                    public Criteria andLitigationTypeIsNull() {
                    addCriterion("litigation_type is null");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeIsNotNull() {
                    addCriterion("litigation_type is not null");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeEqualTo(Integer value) {
                    addCriterion("litigation_type =", value, "litigationType");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeNotEqualTo(Integer value) {
                    addCriterion("litigation_type <>", value, "litigationType");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeGreaterThan(Integer value) {
                    addCriterion("litigation_type >", value, "litigationType");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeGreaterThanOrEqualTo(Integer value) {
                    addCriterion("litigation_type >=", value, "litigationType");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeLessThan(Integer value) {
                    addCriterion("litigation_type <", value, "litigationType");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeLessThanOrEqualTo(Integer value) {
                    addCriterion("litigation_type <=", value, "litigationType");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeIn(List<Integer> values) {
                    addCriterion("litigation_type in", values, "litigationType");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeNotIn(List<Integer> values) {
                    addCriterion("litigation_type not in", values, "litigationType");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeBetween(Integer value1, Integer value2) {
                    addCriterion("litigation_type between", value1, value2, "litigationType");
                    return (Criteria) this;
                }

                public Criteria andLitigationTypeNotBetween(Integer value1, Integer value2) {
                    addCriterion("litigation_type not between", value1, value2, "litigationType");
                    return (Criteria) this;
                }
                                    public Criteria andActionCauseIsNull() {
                    addCriterion("action_cause is null");
                    return (Criteria) this;
                }

                public Criteria andActionCauseIsNotNull() {
                    addCriterion("action_cause is not null");
                    return (Criteria) this;
                }

                public Criteria andActionCauseEqualTo(Integer value) {
                    addCriterion("action_cause =", value, "actionCause");
                    return (Criteria) this;
                }

                public Criteria andActionCauseNotEqualTo(Integer value) {
                    addCriterion("action_cause <>", value, "actionCause");
                    return (Criteria) this;
                }

                public Criteria andActionCauseGreaterThan(Integer value) {
                    addCriterion("action_cause >", value, "actionCause");
                    return (Criteria) this;
                }

                public Criteria andActionCauseGreaterThanOrEqualTo(Integer value) {
                    addCriterion("action_cause >=", value, "actionCause");
                    return (Criteria) this;
                }

                public Criteria andActionCauseLessThan(Integer value) {
                    addCriterion("action_cause <", value, "actionCause");
                    return (Criteria) this;
                }

                public Criteria andActionCauseLessThanOrEqualTo(Integer value) {
                    addCriterion("action_cause <=", value, "actionCause");
                    return (Criteria) this;
                }

                public Criteria andActionCauseIn(List<Integer> values) {
                    addCriterion("action_cause in", values, "actionCause");
                    return (Criteria) this;
                }

                public Criteria andActionCauseNotIn(List<Integer> values) {
                    addCriterion("action_cause not in", values, "actionCause");
                    return (Criteria) this;
                }

                public Criteria andActionCauseBetween(Integer value1, Integer value2) {
                    addCriterion("action_cause between", value1, value2, "actionCause");
                    return (Criteria) this;
                }

                public Criteria andActionCauseNotBetween(Integer value1, Integer value2) {
                    addCriterion("action_cause not between", value1, value2, "actionCause");
                    return (Criteria) this;
                }
                                    public Criteria andRetrialDateIsNull() {
                    addCriterion("retrial_date is null");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateIsNotNull() {
                    addCriterion("retrial_date is not null");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateEqualTo(Date value) {
                    addCriterion("retrial_date =", value, "retrialDate");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateNotEqualTo(Date value) {
                    addCriterion("retrial_date <>", value, "retrialDate");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateGreaterThan(Date value) {
                    addCriterion("retrial_date >", value, "retrialDate");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateGreaterThanOrEqualTo(Date value) {
                    addCriterion("retrial_date >=", value, "retrialDate");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateLessThan(Date value) {
                    addCriterion("retrial_date <", value, "retrialDate");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateLessThanOrEqualTo(Date value) {
                    addCriterion("retrial_date <=", value, "retrialDate");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateIn(List<Date> values) {
                    addCriterion("retrial_date in", values, "retrialDate");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateNotIn(List<Date> values) {
                    addCriterion("retrial_date not in", values, "retrialDate");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateBetween(Date value1, Date value2) {
                    addCriterion("retrial_date between", value1, value2, "retrialDate");
                    return (Criteria) this;
                }

                public Criteria andRetrialDateNotBetween(Date value1, Date value2) {
                    addCriterion("retrial_date not between", value1, value2, "retrialDate");
                    return (Criteria) this;
                }
                            public Criteria andRetrialApplicantLike(String value) {
                    addCriterion("retrial_applicant like", value, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantNotLike(String value) {
                    addCriterion("retrial_applicant not like", value, "retrialApplicant");
                    return (Criteria) this;
                }
                            public Criteria andRetrialApplicantIsNull() {
                    addCriterion("retrial_applicant is null");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantIsNotNull() {
                    addCriterion("retrial_applicant is not null");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantEqualTo(String value) {
                    addCriterion("retrial_applicant =", value, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantNotEqualTo(String value) {
                    addCriterion("retrial_applicant <>", value, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantGreaterThan(String value) {
                    addCriterion("retrial_applicant >", value, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantGreaterThanOrEqualTo(String value) {
                    addCriterion("retrial_applicant >=", value, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantLessThan(String value) {
                    addCriterion("retrial_applicant <", value, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantLessThanOrEqualTo(String value) {
                    addCriterion("retrial_applicant <=", value, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantIn(List<String> values) {
                    addCriterion("retrial_applicant in", values, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantNotIn(List<String> values) {
                    addCriterion("retrial_applicant not in", values, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantBetween(String value1, String value2) {
                    addCriterion("retrial_applicant between", value1, value2, "retrialApplicant");
                    return (Criteria) this;
                }

                public Criteria andRetrialApplicantNotBetween(String value1, String value2) {
                    addCriterion("retrial_applicant not between", value1, value2, "retrialApplicant");
                    return (Criteria) this;
                }
                            public Criteria andRetrialRespondentLike(String value) {
                    addCriterion("retrial_respondent like", value, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentNotLike(String value) {
                    addCriterion("retrial_respondent not like", value, "retrialRespondent");
                    return (Criteria) this;
                }
                            public Criteria andRetrialRespondentIsNull() {
                    addCriterion("retrial_respondent is null");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentIsNotNull() {
                    addCriterion("retrial_respondent is not null");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentEqualTo(String value) {
                    addCriterion("retrial_respondent =", value, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentNotEqualTo(String value) {
                    addCriterion("retrial_respondent <>", value, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentGreaterThan(String value) {
                    addCriterion("retrial_respondent >", value, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentGreaterThanOrEqualTo(String value) {
                    addCriterion("retrial_respondent >=", value, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentLessThan(String value) {
                    addCriterion("retrial_respondent <", value, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentLessThanOrEqualTo(String value) {
                    addCriterion("retrial_respondent <=", value, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentIn(List<String> values) {
                    addCriterion("retrial_respondent in", values, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentNotIn(List<String> values) {
                    addCriterion("retrial_respondent not in", values, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentBetween(String value1, String value2) {
                    addCriterion("retrial_respondent between", value1, value2, "retrialRespondent");
                    return (Criteria) this;
                }

                public Criteria andRetrialRespondentNotBetween(String value1, String value2) {
                    addCriterion("retrial_respondent not between", value1, value2, "retrialRespondent");
                    return (Criteria) this;
                }
                            public Criteria andThirdPartyLike(String value) {
                    addCriterion("third_party like", value, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyNotLike(String value) {
                    addCriterion("third_party not like", value, "thirdParty");
                    return (Criteria) this;
                }
                            public Criteria andThirdPartyIsNull() {
                    addCriterion("third_party is null");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyIsNotNull() {
                    addCriterion("third_party is not null");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyEqualTo(String value) {
                    addCriterion("third_party =", value, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyNotEqualTo(String value) {
                    addCriterion("third_party <>", value, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyGreaterThan(String value) {
                    addCriterion("third_party >", value, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyGreaterThanOrEqualTo(String value) {
                    addCriterion("third_party >=", value, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyLessThan(String value) {
                    addCriterion("third_party <", value, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyLessThanOrEqualTo(String value) {
                    addCriterion("third_party <=", value, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyIn(List<String> values) {
                    addCriterion("third_party in", values, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyNotIn(List<String> values) {
                    addCriterion("third_party not in", values, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyBetween(String value1, String value2) {
                    addCriterion("third_party between", value1, value2, "thirdParty");
                    return (Criteria) this;
                }

                public Criteria andThirdPartyNotBetween(String value1, String value2) {
                    addCriterion("third_party not between", value1, value2, "thirdParty");
                    return (Criteria) this;
                }
                                    public Criteria andLitigationAmountIsNull() {
                    addCriterion("litigation_amount is null");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountIsNotNull() {
                    addCriterion("litigation_amount is not null");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountEqualTo(BigDecimal value) {
                    addCriterion("litigation_amount =", value, "litigationAmount");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountNotEqualTo(BigDecimal value) {
                    addCriterion("litigation_amount <>", value, "litigationAmount");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountGreaterThan(BigDecimal value) {
                    addCriterion("litigation_amount >", value, "litigationAmount");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountGreaterThanOrEqualTo(BigDecimal value) {
                    addCriterion("litigation_amount >=", value, "litigationAmount");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountLessThan(BigDecimal value) {
                    addCriterion("litigation_amount <", value, "litigationAmount");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountLessThanOrEqualTo(BigDecimal value) {
                    addCriterion("litigation_amount <=", value, "litigationAmount");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountIn(List<BigDecimal> values) {
                    addCriterion("litigation_amount in", values, "litigationAmount");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountNotIn(List<BigDecimal> values) {
                    addCriterion("litigation_amount not in", values, "litigationAmount");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountBetween(BigDecimal value1, BigDecimal value2) {
                    addCriterion("litigation_amount between", value1, value2, "litigationAmount");
                    return (Criteria) this;
                }

                public Criteria andLitigationAmountNotBetween(BigDecimal value1, BigDecimal value2) {
                    addCriterion("litigation_amount not between", value1, value2, "litigationAmount");
                    return (Criteria) this;
                }
                            public Criteria andLitigationClaimLike(String value) {
                    addCriterion("litigation_claim like", value, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimNotLike(String value) {
                    addCriterion("litigation_claim not like", value, "litigationClaim");
                    return (Criteria) this;
                }
                            public Criteria andLitigationClaimIsNull() {
                    addCriterion("litigation_claim is null");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimIsNotNull() {
                    addCriterion("litigation_claim is not null");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimEqualTo(String value) {
                    addCriterion("litigation_claim =", value, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimNotEqualTo(String value) {
                    addCriterion("litigation_claim <>", value, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimGreaterThan(String value) {
                    addCriterion("litigation_claim >", value, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimGreaterThanOrEqualTo(String value) {
                    addCriterion("litigation_claim >=", value, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimLessThan(String value) {
                    addCriterion("litigation_claim <", value, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimLessThanOrEqualTo(String value) {
                    addCriterion("litigation_claim <=", value, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimIn(List<String> values) {
                    addCriterion("litigation_claim in", values, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimNotIn(List<String> values) {
                    addCriterion("litigation_claim not in", values, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimBetween(String value1, String value2) {
                    addCriterion("litigation_claim between", value1, value2, "litigationClaim");
                    return (Criteria) this;
                }

                public Criteria andLitigationClaimNotBetween(String value1, String value2) {
                    addCriterion("litigation_claim not between", value1, value2, "litigationClaim");
                    return (Criteria) this;
                }
                                    public Criteria andMajorCaseFlagIsNull() {
                    addCriterion("major_case_flag is null");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagIsNotNull() {
                    addCriterion("major_case_flag is not null");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagEqualTo(Integer value) {
                    addCriterion("major_case_flag =", value, "majorCaseFlag");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagNotEqualTo(Integer value) {
                    addCriterion("major_case_flag <>", value, "majorCaseFlag");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagGreaterThan(Integer value) {
                    addCriterion("major_case_flag >", value, "majorCaseFlag");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagGreaterThanOrEqualTo(Integer value) {
                    addCriterion("major_case_flag >=", value, "majorCaseFlag");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagLessThan(Integer value) {
                    addCriterion("major_case_flag <", value, "majorCaseFlag");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagLessThanOrEqualTo(Integer value) {
                    addCriterion("major_case_flag <=", value, "majorCaseFlag");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagIn(List<Integer> values) {
                    addCriterion("major_case_flag in", values, "majorCaseFlag");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagNotIn(List<Integer> values) {
                    addCriterion("major_case_flag not in", values, "majorCaseFlag");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagBetween(Integer value1, Integer value2) {
                    addCriterion("major_case_flag between", value1, value2, "majorCaseFlag");
                    return (Criteria) this;
                }

                public Criteria andMajorCaseFlagNotBetween(Integer value1, Integer value2) {
                    addCriterion("major_case_flag not between", value1, value2, "majorCaseFlag");
                    return (Criteria) this;
                }
                            public Criteria andAcceptanceCourtLike(String value) {
                    addCriterion("acceptance_court like", value, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtNotLike(String value) {
                    addCriterion("acceptance_court not like", value, "acceptanceCourt");
                    return (Criteria) this;
                }
                            public Criteria andAcceptanceCourtIsNull() {
                    addCriterion("acceptance_court is null");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtIsNotNull() {
                    addCriterion("acceptance_court is not null");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtEqualTo(String value) {
                    addCriterion("acceptance_court =", value, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtNotEqualTo(String value) {
                    addCriterion("acceptance_court <>", value, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtGreaterThan(String value) {
                    addCriterion("acceptance_court >", value, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtGreaterThanOrEqualTo(String value) {
                    addCriterion("acceptance_court >=", value, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtLessThan(String value) {
                    addCriterion("acceptance_court <", value, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtLessThanOrEqualTo(String value) {
                    addCriterion("acceptance_court <=", value, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtIn(List<String> values) {
                    addCriterion("acceptance_court in", values, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtNotIn(List<String> values) {
                    addCriterion("acceptance_court not in", values, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtBetween(String value1, String value2) {
                    addCriterion("acceptance_court between", value1, value2, "acceptanceCourt");
                    return (Criteria) this;
                }

                public Criteria andAcceptanceCourtNotBetween(String value1, String value2) {
                    addCriterion("acceptance_court not between", value1, value2, "acceptanceCourt");
                    return (Criteria) this;
                }
                            public Criteria andCourtTypeLike(String value) {
                    addCriterion("court_type like", value, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeNotLike(String value) {
                    addCriterion("court_type not like", value, "courtType");
                    return (Criteria) this;
                }
                            public Criteria andCourtTypeIsNull() {
                    addCriterion("court_type is null");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeIsNotNull() {
                    addCriterion("court_type is not null");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeEqualTo(String value) {
                    addCriterion("court_type =", value, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeNotEqualTo(String value) {
                    addCriterion("court_type <>", value, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeGreaterThan(String value) {
                    addCriterion("court_type >", value, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeGreaterThanOrEqualTo(String value) {
                    addCriterion("court_type >=", value, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeLessThan(String value) {
                    addCriterion("court_type <", value, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeLessThanOrEqualTo(String value) {
                    addCriterion("court_type <=", value, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeIn(List<String> values) {
                    addCriterion("court_type in", values, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeNotIn(List<String> values) {
                    addCriterion("court_type not in", values, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeBetween(String value1, String value2) {
                    addCriterion("court_type between", value1, value2, "courtType");
                    return (Criteria) this;
                }

                public Criteria andCourtTypeNotBetween(String value1, String value2) {
                    addCriterion("court_type not between", value1, value2, "courtType");
                    return (Criteria) this;
                }
                            public Criteria andCaseHandlerLike(String value) {
                    addCriterion("case_handler like", value, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerNotLike(String value) {
                    addCriterion("case_handler not like", value, "caseHandler");
                    return (Criteria) this;
                }
                            public Criteria andCaseHandlerIsNull() {
                    addCriterion("case_handler is null");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerIsNotNull() {
                    addCriterion("case_handler is not null");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerEqualTo(String value) {
                    addCriterion("case_handler =", value, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerNotEqualTo(String value) {
                    addCriterion("case_handler <>", value, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerGreaterThan(String value) {
                    addCriterion("case_handler >", value, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerGreaterThanOrEqualTo(String value) {
                    addCriterion("case_handler >=", value, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerLessThan(String value) {
                    addCriterion("case_handler <", value, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerLessThanOrEqualTo(String value) {
                    addCriterion("case_handler <=", value, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerIn(List<String> values) {
                    addCriterion("case_handler in", values, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerNotIn(List<String> values) {
                    addCriterion("case_handler not in", values, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerBetween(String value1, String value2) {
                    addCriterion("case_handler between", value1, value2, "caseHandler");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerNotBetween(String value1, String value2) {
                    addCriterion("case_handler not between", value1, value2, "caseHandler");
                    return (Criteria) this;
                }
                            public Criteria andCaseHandlerTelLike(String value) {
                    addCriterion("case_handler_tel like", value, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelNotLike(String value) {
                    addCriterion("case_handler_tel not like", value, "caseHandlerTel");
                    return (Criteria) this;
                }
                            public Criteria andCaseHandlerTelIsNull() {
                    addCriterion("case_handler_tel is null");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelIsNotNull() {
                    addCriterion("case_handler_tel is not null");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelEqualTo(String value) {
                    addCriterion("case_handler_tel =", value, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelNotEqualTo(String value) {
                    addCriterion("case_handler_tel <>", value, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelGreaterThan(String value) {
                    addCriterion("case_handler_tel >", value, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelGreaterThanOrEqualTo(String value) {
                    addCriterion("case_handler_tel >=", value, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelLessThan(String value) {
                    addCriterion("case_handler_tel <", value, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelLessThanOrEqualTo(String value) {
                    addCriterion("case_handler_tel <=", value, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelIn(List<String> values) {
                    addCriterion("case_handler_tel in", values, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelNotIn(List<String> values) {
                    addCriterion("case_handler_tel not in", values, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelBetween(String value1, String value2) {
                    addCriterion("case_handler_tel between", value1, value2, "caseHandlerTel");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlerTelNotBetween(String value1, String value2) {
                    addCriterion("case_handler_tel not between", value1, value2, "caseHandlerTel");
                    return (Criteria) this;
                }
                            public Criteria andCaseHandlingOpinionsLike(String value) {
                    addCriterion("case_handling_opinions like", value, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsNotLike(String value) {
                    addCriterion("case_handling_opinions not like", value, "caseHandlingOpinions");
                    return (Criteria) this;
                }
                            public Criteria andCaseHandlingOpinionsIsNull() {
                    addCriterion("case_handling_opinions is null");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsIsNotNull() {
                    addCriterion("case_handling_opinions is not null");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsEqualTo(String value) {
                    addCriterion("case_handling_opinions =", value, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsNotEqualTo(String value) {
                    addCriterion("case_handling_opinions <>", value, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsGreaterThan(String value) {
                    addCriterion("case_handling_opinions >", value, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsGreaterThanOrEqualTo(String value) {
                    addCriterion("case_handling_opinions >=", value, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsLessThan(String value) {
                    addCriterion("case_handling_opinions <", value, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsLessThanOrEqualTo(String value) {
                    addCriterion("case_handling_opinions <=", value, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsIn(List<String> values) {
                    addCriterion("case_handling_opinions in", values, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsNotIn(List<String> values) {
                    addCriterion("case_handling_opinions not in", values, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsBetween(String value1, String value2) {
                    addCriterion("case_handling_opinions between", value1, value2, "caseHandlingOpinions");
                    return (Criteria) this;
                }

                public Criteria andCaseHandlingOpinionsNotBetween(String value1, String value2) {
                    addCriterion("case_handling_opinions not between", value1, value2, "caseHandlingOpinions");
                    return (Criteria) this;
                }
                            public Criteria andAttachmentIdLike(String value) {
                    addCriterion("attachment_id like", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdNotLike(String value) {
                    addCriterion("attachment_id not like", value, "attachmentId");
                    return (Criteria) this;
                }
                            public Criteria andAttachmentIdIsNull() {
                    addCriterion("attachment_id is null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdIsNotNull() {
                    addCriterion("attachment_id is not null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdEqualTo(String value) {
                    addCriterion("attachment_id =", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdNotEqualTo(String value) {
                    addCriterion("attachment_id <>", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdGreaterThan(String value) {
                    addCriterion("attachment_id >", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdGreaterThanOrEqualTo(String value) {
                    addCriterion("attachment_id >=", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdLessThan(String value) {
                    addCriterion("attachment_id <", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdLessThanOrEqualTo(String value) {
                    addCriterion("attachment_id <=", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdIn(List<String> values) {
                    addCriterion("attachment_id in", values, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdNotIn(List<String> values) {
                    addCriterion("attachment_id not in", values, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdBetween(String value1, String value2) {
                    addCriterion("attachment_id between", value1, value2, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdNotBetween(String value1, String value2) {
                    addCriterion("attachment_id not between", value1, value2, "attachmentId");
                    return (Criteria) this;
                }
                                    public Criteria andAttachmentReceiveDateIsNull() {
                    addCriterion("attachment_receive_date is null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateIsNotNull() {
                    addCriterion("attachment_receive_date is not null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateEqualTo(Date value) {
                    addCriterion("attachment_receive_date =", value, "attachmentReceiveDate");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateNotEqualTo(Date value) {
                    addCriterion("attachment_receive_date <>", value, "attachmentReceiveDate");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateGreaterThan(Date value) {
                    addCriterion("attachment_receive_date >", value, "attachmentReceiveDate");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateGreaterThanOrEqualTo(Date value) {
                    addCriterion("attachment_receive_date >=", value, "attachmentReceiveDate");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateLessThan(Date value) {
                    addCriterion("attachment_receive_date <", value, "attachmentReceiveDate");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateLessThanOrEqualTo(Date value) {
                    addCriterion("attachment_receive_date <=", value, "attachmentReceiveDate");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateIn(List<Date> values) {
                    addCriterion("attachment_receive_date in", values, "attachmentReceiveDate");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateNotIn(List<Date> values) {
                    addCriterion("attachment_receive_date not in", values, "attachmentReceiveDate");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateBetween(Date value1, Date value2) {
                    addCriterion("attachment_receive_date between", value1, value2, "attachmentReceiveDate");
                    return (Criteria) this;
                }

                public Criteria andAttachmentReceiveDateNotBetween(Date value1, Date value2) {
                    addCriterion("attachment_receive_date not between", value1, value2, "attachmentReceiveDate");
                    return (Criteria) this;
                }
                            public Criteria andOtherAttachmentIdLike(String value) {
                    addCriterion("other_attachment_id like", value, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdNotLike(String value) {
                    addCriterion("other_attachment_id not like", value, "otherAttachmentId");
                    return (Criteria) this;
                }
                            public Criteria andOtherAttachmentIdIsNull() {
                    addCriterion("other_attachment_id is null");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdIsNotNull() {
                    addCriterion("other_attachment_id is not null");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdEqualTo(String value) {
                    addCriterion("other_attachment_id =", value, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdNotEqualTo(String value) {
                    addCriterion("other_attachment_id <>", value, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdGreaterThan(String value) {
                    addCriterion("other_attachment_id >", value, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdGreaterThanOrEqualTo(String value) {
                    addCriterion("other_attachment_id >=", value, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdLessThan(String value) {
                    addCriterion("other_attachment_id <", value, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdLessThanOrEqualTo(String value) {
                    addCriterion("other_attachment_id <=", value, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdIn(List<String> values) {
                    addCriterion("other_attachment_id in", values, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdNotIn(List<String> values) {
                    addCriterion("other_attachment_id not in", values, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdBetween(String value1, String value2) {
                    addCriterion("other_attachment_id between", value1, value2, "otherAttachmentId");
                    return (Criteria) this;
                }

                public Criteria andOtherAttachmentIdNotBetween(String value1, String value2) {
                    addCriterion("other_attachment_id not between", value1, value2, "otherAttachmentId");
                    return (Criteria) this;
                }
                                    public Criteria andStatusCdIsNull() {
                    addCriterion("status_cd is null");
                    return (Criteria) this;
                }

                public Criteria andStatusCdIsNotNull() {
                    addCriterion("status_cd is not null");
                    return (Criteria) this;
                }

                public Criteria andStatusCdEqualTo(Integer value) {
                    addCriterion("status_cd =", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdNotEqualTo(Integer value) {
                    addCriterion("status_cd <>", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdGreaterThan(Integer value) {
                    addCriterion("status_cd >", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("status_cd >=", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdLessThan(Integer value) {
                    addCriterion("status_cd <", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdLessThanOrEqualTo(Integer value) {
                    addCriterion("status_cd <=", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdIn(List<Integer> values) {
                    addCriterion("status_cd in", values, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdNotIn(List<Integer> values) {
                    addCriterion("status_cd not in", values, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdBetween(Integer value1, Integer value2) {
                    addCriterion("status_cd between", value1, value2, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdNotBetween(Integer value1, Integer value2) {
                    addCriterion("status_cd not between", value1, value2, "statusCd");
                    return (Criteria) this;
                }
                                    public Criteria andCreatedStaffIdIsNull() {
                    addCriterion("created_staff_id is null");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdIsNotNull() {
                    addCriterion("created_staff_id is not null");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdEqualTo(Integer value) {
                    addCriterion("created_staff_id =", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdNotEqualTo(Integer value) {
                    addCriterion("created_staff_id <>", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdGreaterThan(Integer value) {
                    addCriterion("created_staff_id >", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("created_staff_id >=", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdLessThan(Integer value) {
                    addCriterion("created_staff_id <", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdLessThanOrEqualTo(Integer value) {
                    addCriterion("created_staff_id <=", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdIn(List<Integer> values) {
                    addCriterion("created_staff_id in", values, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdNotIn(List<Integer> values) {
                    addCriterion("created_staff_id not in", values, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdBetween(Integer value1, Integer value2) {
                    addCriterion("created_staff_id between", value1, value2, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("created_staff_id not between", value1, value2, "createdStaffId");
                    return (Criteria) this;
                }
                                    public Criteria andCreatedDtIsNull() {
                    addCriterion("created_dt is null");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtIsNotNull() {
                    addCriterion("created_dt is not null");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtEqualTo(Date value) {
                    addCriterion("created_dt =", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtNotEqualTo(Date value) {
                    addCriterion("created_dt <>", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtGreaterThan(Date value) {
                    addCriterion("created_dt >", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtGreaterThanOrEqualTo(Date value) {
                    addCriterion("created_dt >=", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtLessThan(Date value) {
                    addCriterion("created_dt <", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtLessThanOrEqualTo(Date value) {
                    addCriterion("created_dt <=", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtIn(List<Date> values) {
                    addCriterion("created_dt in", values, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtNotIn(List<Date> values) {
                    addCriterion("created_dt not in", values, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtBetween(Date value1, Date value2) {
                    addCriterion("created_dt between", value1, value2, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtNotBetween(Date value1, Date value2) {
                    addCriterion("created_dt not between", value1, value2, "createdDt");
                    return (Criteria) this;
                }
                                    public Criteria andOperateStaffIdIsNull() {
                    addCriterion("operate_staff_id is null");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdIsNotNull() {
                    addCriterion("operate_staff_id is not null");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdEqualTo(Integer value) {
                    addCriterion("operate_staff_id =", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdNotEqualTo(Integer value) {
                    addCriterion("operate_staff_id <>", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdGreaterThan(Integer value) {
                    addCriterion("operate_staff_id >", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("operate_staff_id >=", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdLessThan(Integer value) {
                    addCriterion("operate_staff_id <", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdLessThanOrEqualTo(Integer value) {
                    addCriterion("operate_staff_id <=", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdIn(List<Integer> values) {
                    addCriterion("operate_staff_id in", values, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdNotIn(List<Integer> values) {
                    addCriterion("operate_staff_id not in", values, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdBetween(Integer value1, Integer value2) {
                    addCriterion("operate_staff_id between", value1, value2, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("operate_staff_id not between", value1, value2, "operateStaffId");
                    return (Criteria) this;
                }
                                    public Criteria andVersionIsNull() {
                    addCriterion("version is null");
                    return (Criteria) this;
                }

                public Criteria andVersionIsNotNull() {
                    addCriterion("version is not null");
                    return (Criteria) this;
                }

                public Criteria andVersionEqualTo(Date value) {
                    addCriterion("version =", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionNotEqualTo(Date value) {
                    addCriterion("version <>", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionGreaterThan(Date value) {
                    addCriterion("version >", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionGreaterThanOrEqualTo(Date value) {
                    addCriterion("version >=", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionLessThan(Date value) {
                    addCriterion("version <", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionLessThanOrEqualTo(Date value) {
                    addCriterion("version <=", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionIn(List<Date> values) {
                    addCriterion("version in", values, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionNotIn(List<Date> values) {
                    addCriterion("version not in", values, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionBetween(Date value1, Date value2) {
                    addCriterion("version between", value1, value2, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionNotBetween(Date value1, Date value2) {
                    addCriterion("version not between", value1, value2, "version");
                    return (Criteria) this;
                }
            }


}